package com.retail.common.domain.response.pms;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 优惠劵
 * @TableName coupon
 */
@TableName(value ="coupon")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Coupon implements Serializable {
    /**
     * id
     */
    @TableId
    private Integer couponId;

    /**
     * 优惠金额
     */
    private BigDecimal couponPrice;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 描述
     */
    private String description;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
